import http from '@/api';

// 获取用户ai列表
export const getIndexList = (params: any) => {
    return http.post(`index/home`, params);
};

export const coreInfo = (params: any) => {
    return http.post(`aiUser/core/info`, params);
};

export const getBanner = (params: any) => {
    return http.post(`/index/home/distribution_channel`, params);
};

export const channelInit = (params: any) => {
    return http.post(`/h5/distribution_channel/init`, params);
};

export const channelBind = (params: any) => {
    return http.post(`/h5/distribution_channel/bind`, params);
};
export const channelVisit = (params: any) => {
    return http.post(`/h5/distribution_channel/visit`, params);
};